﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.ServiceModel.Description;
using System.IdentityModel.Selectors;

namespace PSE.Framework.Common.Security.Services.Authentication.ClientCredentials
{
    public class CustomClientCredentials : System.ServiceModel.Description.ClientCredentials
    {
        public CustomClientCredentials()
        {
        }

        protected CustomClientCredentials(CustomClientCredentials other)
            : base(other)
        {
        }

        public override SecurityTokenManager CreateSecurityTokenManager()
        {
            return new CustomClientCredentialsSecurityTokenManager(this);
        }

        protected override System.ServiceModel.Description.ClientCredentials CloneCore()
        {
            return new CustomClientCredentials(this);
        }
    }
}
